<?phpinclude_once("../../../config.php");//访问就直接输出一篇文章//参考地址http://t.event.com/api/miniapp/news/news_detail.php?nid=72//nid是文章的nid$nid=$_REQUEST['nid'];$newsdetail=select_one_line_all_items($table_prefix."news","nid = '".$nid."'");    $data=$newsdetail;    $arr['status'] = 200;    $arr['info'] = $data;    die(json_encode($arr));?>